package com.lch.designpattern.decorate;

/**
 * @author: liuchenhui
 * @create: 2020-03-07 17:25
 **/
public class DecorateMain {
    public static void main(String[] args) {
        Inavigation base = new BaseNavigation();
        NavDecorate nav = new NavDecorate(base);

        System.out.println(base.show());
        System.out.println(nav.show());
    }
}
